import request from '@/utils/request'

// 查询【收房合同查询】列表
export function sfselect(query) {
  return request({
    url: '/finance/financeHouseloan/listsf',
    method: 'get',
    params: query
  })
}

// 查询【金融产品下拉框】列表
export function listprodect() {
  return request({
    url: '/finance/financeHouseloan/listprodect',
    method: 'get',
  })
}

//改变下拉框状态回显其他文本框数据
export function changepro(id) {
  return request({
    url: '/finance/financeHouseloan/changeprodect?id='+id,
    method: 'get',
  })
}

//分期计算器
export function listSfLoan(query) {
  return request({
    url: '/finance/financeHouseloan/listSfLoan',
    method: 'get',
    params: query
  })
}

